package org.jeecg.modules.demo.drfIndividualReview.service.impl;

import org.jeecg.modules.demo.drfIndividualReview.entity.DrfIndividualReview;
import org.jeecg.modules.demo.drfIndividualReview.mapper.DrfIndividualReviewMapper;
import org.jeecg.modules.demo.drfIndividualReview.service.IDrfIndividualReviewService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Date;

/**
 * @Description: 个人审核表
 * @Author: jeecg-boot
 * @Date:   2025-10-17
 * @Version: V1.0
 */
@Service
public class DrfIndividualReviewServiceImpl extends ServiceImpl<DrfIndividualReviewMapper, DrfIndividualReview> implements IDrfIndividualReviewService {

    @Override
    public DrfIndividualReview getByPaperId(String id) {

        return this.getBaseMapper().getByPaperId(id);
    }

    /**
     * 获取审核意见id
     *
     * @param id
     * @return
     */
    @Override
    public String[] getOpinionsIdByPaperId(String id) {

        return this.getBaseMapper().getOpinionsIdByPaperId(id);
    }

    @Override
    public Date getEndTime(String id, String userId) {

        return this.getBaseMapper().getEndTime(id, userId);
    }
}
